package com.yida.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.web.multipart.MultipartFile;

import com.yida.bean.blogUser;

public interface serveruser {
	
	blogUser selectuser(Integer id);
	
	String    fileup(Integer id,MultipartFile file,HttpSession session);
	
	//更正头像地址
	boolean imgUpdate(Integer id,String url,HttpSession session) ;
		
	//邮箱验证码
	boolean  emailyzm(Integer id, String email);
	boolean  emailyzmyz(Integer id, String email,String emailcode); 
	blogUser      pwdemail(Integer id);
	
	Integer   updateUserAll(blogUser user);

}
